package cn.hr.dao.mapper;

import cn.hr.base.BaseMapper;
import cn.hr.pojo.Dictionary;
import cn.hr.pojo.MissionType;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;

/**
 * Created by Administrator on 2019/1/4.
 */
public interface MissionTypeMapper extends BaseMapper<MissionType> {
    /**
     * 根据类别id和tableid删除
     *
     * @param typeId
     * @param tableId
     * @return
     * @throws SQLException
     */
    int deleteByTableIdAndTypeId(@Param("typeId") int typeId, @Param("tableId") int tableId) throws SQLException;
}
